package cn.pattern.demo3;

/**
 * @auth wzy
 * @date 2023/10/10 15:55
 */
public class Test1 {
    public static void main(String[] args) {
//        Buyer tx = new TangXinBuyer();
//
//        Buyer oy = new ProxyBuyer(tx);
//
//        buyHouse(oy);
    }


    public static void buyHouse(Buyer buyer) {
        buyer.buyHouse();
    }
}
